MotoPress\Appointment\Payments\Gateways\AbstractPaymentGateway S

Total Complexity 35
Dependencies 5
Dependents 4
Total lines 373
Lines of code 185
Logical lines of code 59
Comment lines 108
Methods 28
Properties 7

Methods 28

Method Rating Maintainability Complexity Lines of code
getFields()
S
43 2 54
storePayment()
S
51 3 27
startPayment()
S
57 1 17
getDefaultPublicName()
S
78 2 3
getMode()
S
80 2 3
getOption()
S
66 2 8
getAdminDescription()
S
66 2 8
__construct()
S
82 1 3
getFrontendData()
S
66 1 9
prepareAndStoreNewPayment()
S
80 1 3
printBillingFields()
S
98 1 1
isTranslatableOption()
S
78 1 3
getOptionNameRaw()
S
79 1 3
enqueueScripts()
S
98 1 1
isOnlinePayment()
S
82 1 3
setupProperties()
S
69 1 6
getId()
S
82 1 3
isSupportsSandbox()
S
82 1 3
isSandbox()
S
82 1 3
isActive()
S
81 1 3
isSandboxModeEnabled()
S
82 1 3
isEnabled()
S
82 1 3
isInternal()
S
82 1 3
getDefaultDescription()
S
82 1 3
getDescription()
S
79 1 3
getPublicName()
S
79 1 3
getName()
S
82 1 3
processPayment()
S
100 1 0